Search, compare and book your train tickets in Asia
Select your departing trip
Results from Shanghai to Xi An on Thursday, 17 September 2026
Train routes from Shanghai (Shanghai Railway Station) to Xi An (Xi An Railway Station)
| Departure | Arrival | Price | ||||
|---|---|---|---|---|---|---|
K2186
19h 50m
|
08:57
Th, 17/09
SHANGHAI Shanghai |
04:47
Fr, 18/09
XI AN Xi An |
216 元
|
|
||
Train routes from Shanghai (Shanghai Hongqiao Railway Station) to Xi An (Xi An North Railway Station)
| Departure | Arrival | Price | ||||
|---|---|---|---|---|---|---|
G1970
7h 11m
|
06:09
Th, 17/09
SHANGHAI Hongqiao |
13:20
Th, 17/09
XI AN North |
747 元
|
|
||
Train routes from Shanghai (Shanghai South Railway Station) to Xi An (Xi An North Railway Station)
| Departure | Arrival | Price | ||||
|---|---|---|---|---|---|---|
G3257
9h 26m
|
10:42
Th, 17/09
SHANGHAI South |
20:08
Th, 17/09
XI AN North |
781 元
|
|
||
Our pricing policy is transparentThe fares displayed have been obtained directly from the transport providers and do not include any mark-ups. Please note that prices do not include our service fee. The total price including any additional fees will be displayed before payment.
Our platform is trusted by travelersWe are recommended by leading independent travel guides such as Lonely Planet, DK Eyewitness, Rough Guides, Insight Guides, DuMont Reise-Handbuch, Le Routard and others. Travelers consistently praise the quality of our service, so you can rely on us to plan your trip and book with confidence.
How to get from Shanghai to Xi An
The easiest way to travel from Shanghai to Xi An is by train.
How far is Shanghai from Xi An?
The travel distance between Shanghai and Xi An is 1,381 km. The best option to travel from Shanghai to Xi An is taking a train.
How long does it take to get from Shanghai to Xi An?
It takes 5 hours 40 minutes to 9 hours to get from Shanghai to Xi An by high-speed train, 14 hours 45 minutes to 15 hours 15 minutes by overnight high-speed train and 14 hours 50 minutes to 21 hours by conventional train.
How to get from Shanghai to Xi An by train
What types of trains operate the route Shanghai to Xi An?
There is one railway company operating trains on the route Shanghai to Xi An.
China Railway is the state-owned railway company in China operating high-speed trains and conventional trains.
There are five types of services on route Shanghai to Xi An: G-series are high-speed services with maximum speed of 350 km/h, D-series are overnight high-speed services with maximum speed of 250 km/h, Z-series are conventional direct express services stopping at provincial capitals or no stops with maximum speed of 160 km/h, T-series are conventional express services stopping at province-level cities with maximum speed of 140 km/h, and K-series are conventional fast services stopping at prefecture-level cities with maximum speed of 120 km/h.
In total, high-speed trains offer three seat classes: Business class Seat and First class Seat available in G-series trains, Second class Seat available in G and D series trains, and two sleeper classes: First class Sleeper with soft beds in compartments for 1-4 passengers and Second class Sleeper with hard beds in compartments for 1-6 passengers available in overnight D-series trains.
In total, conventional trains offer one seat class: Hard seat, and two sleeper classes: Soft Sleeper in compartments for 1-4 passengers and Hard Sleeper in compartments for 1-6 passengers available in Z, T and K series trains.
For more information about travelling by train, please read our Train Guide in China.
Where do trains from Shanghai to Xi An depart?
All the G-series high-speed trains depart from Shanghai Hongqiao Railway Station located in Minhang, Shanghai. All the overnight D-series high-speed trains, most Z-series conventional trains, and all the T and K series conventional trains depart from Shanghai Railway Station located in Jing An, Shanghai. Few Z-series conventional trains depart from Shanghai South Railway Station located in Xuhui, Shanghai.
Passengers are requested to arrive at the station 60 minutes before the scheduled departure time to complete the boarding procedures or risk missing the train.
Where do trains from Shanghai to Xi An arrive?
All the G-series high-speed trains arrive at Xi An North Railway Station located in Weiyang, Xi An. All the overnight D-series high-speed trains, the Z, T and K series conventional trains arrive at Xi An Railway Station located in Xincheng, Xi An.
Why you should book your trains in China with Baolau?
You can compare transport options and see the available schedules and fares offered by China Railway, then you can choose the option that works best for your trip.
Baolau sells official China Railway tickets for international travellers, facilitating advance ticket reservations and providing direct customer support. Seats are allocated automatically by CR's ticketing system assigning specific car and seat numbers to all the passengers included in the reservation and booking requests are accepted 21 days in advance and confirmed instantly during the official sales period of 15 days before departure.
Once you select your desired travel option, you can pay using international credit or debit cards, Google Pay, Apple Pay, Alipay and other available local payment methods. Your booking request will be processed immediately and you will receive your booking confirmation by email. China Railway integrates a ticketless passenger transportation system, so you will be required to use your passport in lieu of the ticket and scan it at the ticket gates to check-in before departure.